﻿using Microsoft.EntityFrameworkCore;
using Model;

namespace DAL
{
    public class HotelDbContext : DbContext
    {
        public HotelDbContext(DbContextOptions options) : base(options)
        {
            Options = options;
        }

        public DbContextOptions Options { get; }
        //用户信息
        public DbSet<Logth> logths { get; set; }
        //房态
        public DbSet<User> users { get; set; }



    }
}
